from pydantic import BaseModel


class Serial_Config_Type(BaseModel):
    port: str
    baudrate: int = 9600
    bytesize: int = 8
    parity: str = "N"
    stopbits: int = 1
